﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head profile="http://dublincore.org/documents/2008/08/04/dc-html/">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="robots" content="index,follow">
    <meta name="creator" content="rfcmarkup version 1.109">
    <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.Relation.Replaces" content="draft-maglione-softwire-dslite-radius-ext">
<meta name="DC.Identifier" content="urn:ietf:rfc:6519">
<meta name="DC.Date.Issued" content="February, 2012">
<meta name="DC.Creator" content="Maglione, Roberta">
<meta name="DC.Creator" content="Durand, Alain">
<meta name="DC.Description.Abstract" content="Dual-Stack Lite is a solution to offer both IPv4 and IPv6 connectivity\nto customers which are addressed only with an IPv6 prefix. Dual-Stack\nLite requires to pre-configure the Dual-Stack Lite Address Family\nTransition Router (AFTR) tunnel information on the Basic Bridging\nBroadBand (B4) element. In many networks, the customer profile\ninformation may be stored in Authentication Authorization and\nAccounting (AAA) servers while client configurations are mainly\nprovided through Dynamic Host Configuration Protocol (DHCP). This\ndocument specifies a new Remote Authentication Dial In User Service\n(RADIUS) attribute to carry Dual-Stack Lite Address Family Transition\nRouter Tunnel name; the RADIUS attribute is defined based on the\nequivalent DHCPv6 OPTION_AFTR_NAME option. This RADIUS attribute is\nmeant to be used between the RADIUS Server and the Network Access\nServer (NAS), it is not intended to be used directly between the Basic\nBridging BroadBand element and the RADIUS Server.">
<meta name="DC.Title" content="RADIUS Extensions for Dual-Stack Lite">

    <link rel="icon" href="" type="image/png">
    <link rel="shortcut icon" href="" type="image/png">
    <title>RFC 6519 - RADIUS Extensions for Dual-Stack Lite</title>
    
    
    <style type="text/css">
	body {
	    margin: 0px 8px;
            font-size: 1em;
	}
        h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	    font-weight: bold;
            line-height: 0pt;
            display: inline;
            white-space: pre;
            font-family: monospace;
            font-size: 1em;
	    font-weight: bold;
        }
        pre {
            font-size: 1em;
            margin-top: 0px;
            margin-bottom: 0px;
        }
	.pre {
	    white-space: pre;
	    font-family: monospace;
	}
	.header{
	    font-weight: bold;
	}
        .newpage {
            page-break-before: always;
        }
        .invisible {
            text-decoration: none;
            color: white;
        }
        a.selflink {
          color: black;
          text-decoration: none;
        }
        @media print {
            body {
                font-family: monospace;
                font-size: 10.5pt;
            }
            h1, h2, h3, h4, h5, h6 {
                font-size: 1em;
            }
        
            a:link, a:visited {
                color: inherit;
                text-decoration: none;
            }
            .noprint {
                display: none;
            }
        }
	@media screen {
	    .grey, .grey a:link, .grey a:visited {
		color: #777;
	    }
            .docinfo {
                background-color: #EEE;
            }
            .top {
                border-top: 7px solid #EEE;
            }
            .bgwhite  { background-color: white; }
            .bgred    { background-color: #F44; }
            .bggrey   { background-color: #666; }
            .bgbrown  { background-color: #840; }            
            .bgorange { background-color: #FA0; }
            .bgyellow { background-color: #EE0; }
            .bgmagenta{ background-color: #F4F; }
            .bgblue   { background-color: #66F; }
            .bgcyan   { background-color: #4DD; }
            .bggreen  { background-color: #4F4; }

            .legend   { font-size: 90%; }
            .cplate   { font-size: 70%; border: solid grey 1px; }
	}
    </style>
    <!--[if IE]>
    <style>
    body {
       font-size: 13px;
       margin: 10px 10px;
    }
    </style>
    <![endif]-->

    
</head>
<body>
   <div style="height: 13px;">
      <div onmouseover="this.style.cursor='pointer';" onclick="showElem('legend');" onmouseout="hideElem('legend')" style="height: 6px; position: absolute;" class="pre noprint docinfo bgblue" title="Click for colour legend.">                                                                        </div>
      <div id="legend" class="docinfo noprint pre legend" style="position:absolute; top: 4px; left: 4ex; visibility:hidden; background-color: white; padding: 4px 9px 5px 7px; border: solid #345 1px; " onmouseover="showElem('legend');" onmouseout="hideElem('legend');">
      </div>
   </div>
<span class="pre noprint docinfo top">[<a href="https://tools.ietf.org/html" title="Document search and retrieval page">Docs</a>] [<a href="https://tools.ietf.org/rfc/rfc6519.txt" title="Plaintext version of this document">txt</a>|<a href="https://tools.ietf.org/pdf/rfc6519" title="PDF version of this document">pdf</a>] [<a href="https://tools.ietf.org/html/draft-ietf-softwire-dslite-radius-ext" title="draft-ietf-softwire-dslite-radius-ext">draft-ietf-softwi...</a>] [<a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&amp;url2=rfc6519" title="Inline diff (wdiff)">Diff1</a>] [<a href="https://tools.ietf.org/rfcdiff?url2=rfc6519" title="Side-by-side diff">Diff2</a>] [<a href="https://www.rfc-editor.org/errata_search.php?rfc=6519">Errata</a>]        </span><br>
<span class="pre noprint docinfo">                                                                        </span><br>
<span class="pre noprint docinfo">                                                       PROPOSED STANDARD</span><br>
<span class="pre noprint docinfo">                                                            <span style="color: #C00;">Errata Exist</span></span><br>
<pre>Internet Engineering Task Force (IETF)                       R. Maglione
Request for Comments: 6519                                Telecom Italia
Category: Standards Track                                      A. Durand
ISSN: 2070-1721                                         Juniper Networks
                                                           February 2012


                 <span class="h1"><h1>RADIUS Extensions for Dual-Stack Lite</h1></span>

Abstract

   Dual-Stack Lite is a solution to offer both IPv4 and IPv6
   connectivity to customers that are addressed only with an IPv6
   prefix.  Dual-Stack Lite requires pre-configuration of the Dual-Stack
   Lite Address Family Transition Router (AFTR) tunnel information on
   the Basic Bridging BroadBand (B4) element.  In many networks, the
   customer profile information may be stored in Authentication,
   Authorization, and Accounting (AAA) servers, while client
   configurations are mainly provided through the Dynamic Host
   Configuration Protocol (DHCP).  This document specifies a new Remote
   Authentication Dial-In User Service (RADIUS) attribute to carry the
   Dual-Stack Lite AFTR tunnel name; the RADIUS attribute is defined
   based on the equivalent DHCPv6 OPTION_AFTR_NAME option.  This RADIUS
   attribute is meant to be used between the RADIUS server and the
   Network Access Server (NAS); it is not intended to be used directly
   between the B4 element and the RADIUS server.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in <a href="https://tools.ietf.org/html/rfc5741#section-2">Section&nbsp;2 of RFC 5741</a>.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   <a href="http://www.rfc-editor.org/info/rfc6519">http://www.rfc-editor.org/info/rfc6519</a>.











<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 1]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-2" id="page-2" href="#page-2" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


Copyright Notice

   Copyright (c) 2012 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to <a href="https://tools.ietf.org/html/bcp78">BCP 78</a> and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in <a href="#section-4">Section 4</a>.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Table of Contents

   <a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
   <a href="#section-2">2</a>. Terminology .....................................................<a href="#page-4">4</a>
   <a href="#section-3">3</a>. DS-Lite Configuration with RADIUS and DHCPv6 ....................<a href="#page-4">4</a>
   <a href="#section-4">4</a>. RADIUS Attribute ................................................<a href="#page-7">7</a>
      <a href="#section-4.1">4.1</a>. DS-Lite-Tunnel-Name ........................................<a href="#page-7">7</a>
   <a href="#section-5">5</a>. Table of Attributes .............................................<a href="#page-9">9</a>
   <a href="#section-6">6</a>. Security Considerations .........................................<a href="#page-9">9</a>
   <a href="#section-7">7</a>. IANA Considerations .............................................<a href="#page-9">9</a>
   <a href="#section-8">8</a>. References .....................................................<a href="#page-10">10</a>
      <a href="#section-8.1">8.1</a>. Normative References ......................................<a href="#page-10">10</a>
      <a href="#section-8.2">8.2</a>. Informative References ....................................<a href="#page-10">10</a>











<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 2]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-3" id="page-3" href="#page-3" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


<span class="h2"><h2><a class="selflink" name="section-1" href="#section-1">1</a>.  Introduction</h2></span>

   Dual-Stack Lite [<a href="https://tools.ietf.org/html/rfc6333" title="&quot;Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion&quot;">RFC6333</a>] is a solution to offer both IPv4 and IPv6
   connectivity to customers that are addressed only with an IPv6 prefix
   (no IPv4 address is assigned to the attachment device).  One of its
   key components is an IPv4-over-IPv6 tunnel, but a Dual-Stack-Lite
   Basic Bridging BroadBand (B4) element will not know if the network to
   which it is attached offers Dual-Stack Lite support.  Even if the B4
   did know, it would not know the remote end of the tunnel to which it
   could establish a connection.

   To inform the B4 element of the location of the Address Family
   Transition Router (AFTR), a Fully Qualified Domain Name (FQDN) may be
   used.  Once this information is conveyed, the presence of the
   configuration indicating the AFTR's location also informs a host to
   initiate Dual-Stack Lite (DS-Lite) service and become a Softwire
   Initiator.

   [<a name="ref-RFC6334" id="ref-RFC6334">RFC6334</a>] specifies a DHCPv6 option that is meant to be used by a
   DS-Lite client (B4 element) to discover its AFTR name.  In order to
   be able to populate such an option, the DHCPv6 server must be
   pre-provisioned with the AFTR name.

   In broadband environments, a customer profile may be managed by
   Authentication, Authorization, and Accounting (AAA) servers, together
   with AAA for users.  The Remote Authentication Dial-In User Service
   (RADIUS) protocol [<a href="https://tools.ietf.org/html/rfc2865" title="&quot;Remote Authentication Dial In User Service (RADIUS)&quot;">RFC2865</a>] is usually used by AAA servers to
   communicate with network elements.  [<a href="#ref-RADIUS-IPv6" title="&quot;RADIUS attributes for IPv6 Access Networks&quot;">RADIUS-IPv6</a>] describes a typical
   broadband network scenario in which the Network Access Server (NAS)
   acts as the access gateway for the users (hosts or Customer Premises
   Equipment (CPE) devices) and also embeds a DHCPv6 server function
   that allows it to locally handle any DHCPv6 requests issued by the
   clients.

   Since the DS-Lite AFTR information can be stored in AAA servers and
   the client configuration is mainly provided through DHCP running
   between the NAS and the requesting clients, a new RADIUS attribute is
   needed to send AFTR information from the AAA server to the NAS.

   This document defines a new RADIUS attribute to be used for carrying
   the DS-Lite Tunnel Name, based on the equivalent DHCPv6 option
   already specified in [<a href="https://tools.ietf.org/html/rfc6334" title="&quot;Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Option for Dual-Stack Lite&quot;">RFC6334</a>].









<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 3]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-4" id="page-4" href="#page-4" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


<span class="h2"><h2><a class="selflink" name="section-2" href="#section-2">2</a>.  Terminology</h2></span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [<a href="https://tools.ietf.org/html/rfc2119" title="&quot;Key words for use in RFCs to Indicate Requirement Levels&quot;">RFC2119</a>].

   The terms DS-Lite Basic Bridging BroadBand element (B4) and the
   DS-Lite Address Family Transition Router element (AFTR) are defined
   in [<a href="https://tools.ietf.org/html/rfc6333" title="&quot;Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion&quot;">RFC6333</a>].

<span class="h2"><h2><a class="selflink" name="section-3" href="#section-3">3</a>.  DS-Lite Configuration with RADIUS and DHCPv6</h2></span>

   Figure 1 illustrates how the RADIUS protocol and DHCPv6 work together
   to accomplish DS-Lite configuration on the B4 element when a PPP
   session is used to provide connectivity to the user.

   The NAS operates as a client of RADIUS and as a DHCP Server.  The NAS
   initially sends a RADIUS Access-Request message to the RADIUS server,
   requesting authentication.  Once the RADIUS server receives the
   request, it validates the sending client, and if the request is
   approved, the AAA server replies with an Access-Accept message
   including a list of attribute-value pairs that describe the
   parameters to be used for this session.  This list MAY also contain
   the AFTR tunnel name.  When the NAS receives a DHCPv6 client request
   containing the DS-Lite tunnel option, the NAS SHALL use the name
   returned in the RADIUS DS-Lite-Tunnel-Name attribute to populate the
   DHCPv6 OPTION_AFTR_NAME option in the DHCPv6 reply message.
























<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 4]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-5" id="page-5" href="#page-5" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


       B4                                NAS                     AAA
       |                                  |                     Server
       |                                  |                        |
       |----PPP LCP Config-Request------&gt; |                        |
       |                                  |                        |
       |                                  |----Access-Request ----&gt;|
       |                                  |                        |
       |                                  |&lt;---- Access-Accept-----|
       |                                  | (DS-Lite-Tunnel-Name)  |
       |&lt;-----PPP LCP Config-ACK  ------- |                        |
       |                                  |                        |
       |                                  |                        |
       |--- PPP IPv6CP Config-Request ---&gt;|                        |
       |                                  |                        |
       |&lt;----- PPP IPv6CP Config-ACK -----|                        |
       |                                  |                        |
       |-------  DHCPv6 Solicit  --------&gt;|                        |
       |                                  |                        |
       |&lt;-------DHCPv6 Advertisement -----|                        |
       |      (DHCPv6 OPTION_AFTR_NAME)   |                        |
       |                                  |                        |
       |-------  DHCPv6 Request  --------&gt;|                        |
       |                                  |                        |
       |&lt;-------- DHCPv6 Reply ---------- |                        |
       |      (DHCPv6 OPTION_AFTR_NAME)   |                        |

                   DHCPv6                         RADIUS

        Figure 1: RADIUS and DHCPv6 Message Flow for a PPP Session

   Figure 2 illustrates how the RADIUS protocol and DHCPv6 work together
   to accomplish DS-Lite configuration on the B4 element when an IP
   session is used to provide connectivity to the user.

   The only difference between this message flow and the previous one is
   that in this scenario, the interaction between the NAS and the AAA/
   RADIUS server is triggered by the DHCPv6 Solicit message received by
   the NAS from the B4 acting as a DHCPv6 client, while in the case of a
   PPP session, the trigger is the PPP Link Control Protocol (LCP)
   Config-Request message received by the NAS.











<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 5]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-6" id="page-6" href="#page-6" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


       B4                                NAS                      AAA
       |                                  |                      Server
       |------ DHCPv6 Solicit ---------&gt;  |                        |
       |                                  |                        |
       |                                  |----Access-Request ----&gt;|
       |                                  |                        |
       |                                  |&lt;---Access-Accept-------|
       |                                  | (DS-Lite-Tunnel-Name)  |
       |                                  |                        |
       |&lt;-------DHCPv6 Advertisement------|                        |
       |     (DHCPv6 OPTION_AFTR_NAME)    |                        |
       |                                  |                        |
       |-------  DHCPv6 Request  --------&gt;|                        |
       |                                  |                        |
       |                                  |                        |
       |&lt;----- DHCPv6 Reply ------------- |                        |
       |     (DHCPv6 OPTION_AFTR_NAME)    |                        |

                   DHCPv6                         RADIUS

        Figure 2: RADIUS and DHCPv6 Message Flow for an IP Session

   In the scenario depicted in Figure 2, the Access-Request packet
   contains a Service-Type attribute with the value Authorize Only (17);
   thus, according to [<a href="https://tools.ietf.org/html/rfc5080" title="&quot;Common Remote Authentication Dial In User Service (RADIUS) Implementation Issues and Suggested Fixes&quot;">RFC5080</a>], the Access-Request packet MUST contain
   a State attribute.

   After receiving the DS-Lite-Tunnel-Name attribute in the initial
   Access-Accept packet, the NAS MUST store the received AFTR tunnel
   name locally.  When the B4 sends a DHCPv6 Renew message to request an
   extension of the lifetimes for the assigned address or prefix, the
   NAS does not have to initiate a new Access-Request packet towards the
   AAA server to request the AFTR tunnel name.  The NAS retrieves the
   previously stored AFTR tunnel name and uses it in its reply.

   According to [<a href="https://tools.ietf.org/html/rfc3315" title="&quot;Dynamic Host Configuration Protocol for IPv6 (DHCPv6)&quot;">RFC3315</a>], if the DHCPv6 server to which the DHCPv6
   Renew message was sent at time T1 has not responded, the DHCPv6
   client initiates a Rebind/Reply message exchange with any available
   server.  In this scenario, the NAS receiving the DHCPv6 Rebind
   message MUST initiate a new Access-Request message towards the AAA
   server.  The NAS MAY include the DS-Lite-Tunnel-Name attribute in its
   Access-Request message.

   If the NAS does not receive the DS-Lite-Tunnel-Name attribute in the
   Access-Accept message, it MAY fall back to a pre-configured default
   tunnel name, if any.  If the NAS does not have any pre-configured





<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 6]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-7" id="page-7" href="#page-7" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


   default tunnel name or if the NAS receives an Access-Reject message,
   the IPv4-over-IPv6 tunnel cannot be established; thus, the B4 element
   has only IPv6 connectivity.

<span class="h2"><h2><a class="selflink" name="section-4" href="#section-4">4</a>.  RADIUS Attribute</h2></span>

   This section specifies the format of the new RADIUS attribute.

<span class="h3"><h3><a class="selflink" name="section-4.1" href="#section-4.1">4.1</a>.  DS-Lite-Tunnel-Name</h3></span>

   The DS-Lite-Tunnel-Name RADIUS attribute contains an FQDN that refers
   to the AFTR to which the client is requested to establish a
   connection.  The NAS SHALL use the name returned in the RADIUS
   DS-Lite-Tunnel-Name attribute to populate the DHCPv6 OPTION_AFTR_NAME
   option [<a href="https://tools.ietf.org/html/rfc6334" title="&quot;Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Option for Dual-Stack Lite&quot;">RFC6334</a>].

   This attribute MAY be used in Access-Request packets as a hint to the
   RADIUS server; for example, if the NAS is pre-configured with a
   default tunnel name, this name MAY be inserted in the attribute.  The
   RADIUS server MAY ignore the hint sent by the NAS, and it MAY assign
   a different AFTR tunnel name.

   If the NAS includes the DS-Lite-Tunnel-Name attribute, but the AAA
   server does not recognize it, this attribute MUST be ignored by the
   AAA server.

   If the NAS does not receive the DS-Lite-Tunnel-Name attribute in the
   Access-Accept message, it MAY fall back to a pre-configured default
   tunnel name, if any.  If the NAS does not have any pre-configured
   default tunnel name, the tunnel cannot be established.

   If the NAS is pre-provisioned with a default AFTR tunnel name and the
   AFTR tunnel name received in the Access-Accept message is different
   from the configured default, then the AFTR tunnel name received in
   the Access-Accept message MUST be used for the session.

   If the NAS cannot support the received AFTR tunnel name for any
   reason, the tunnel SHOULD NOT be established.

   When the Access-Request message is triggered by a DHCPv6 Rebind
   message, if the AFTR tunnel name received in the Access-Accept
   message is different from the currently used one for that session,
   the NAS MUST force the B4 to re-establish the tunnel using the new
   AFTR name received in the Access-Accept message.

   If an implementation includes Change-of-Authorization (CoA) messages
   [<a href="https://tools.ietf.org/html/rfc5176" title="&quot;Dynamic Authorization Extensions to Remote Authentication Dial In User Service (RADIUS)&quot;">RFC5176</a>], they could be used to modify the current established
   DS-Lite tunnel.  When the NAS receives a CoA Request message



<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 7]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-8" id="page-8" href="#page-8" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


   containing the DS-Lite-Tunnel-Name attribute, the NAS MUST send a
   Reconfigure message to a B4 to inform the B4 that the NAS has new or
   updated configuration parameters and that the B4 is to initiate a
   Renew/Reply or Information-Request/Reply transaction with the NAS in
   order to receive the updated information.

   Upon receiving an AFTR tunnel name different from the currently used
   one, the B4 MUST terminate the current DS-Lite tunnel, and the B4
   MUST establish a new DS-Lite tunnel with the specified AFTR.

   The DS-Lite-Tunnel-Name RADIUS attribute MAY be present in
   Accounting-Request records where the Acct-Status-Type is set to
   Start, Stop, or Interim-Update.  The DS-Lite-Tunnel-Name RADIUS
   attribute MUST NOT appear more than once in a message.

   A summary of the DS-Lite-Tunnel-Name RADIUS attribute format is shown
   below.  The fields are transmitted from left to right.

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |     Type      |    Length     |  DS-Lite-Tunnel-Name (FQDN)...
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type:

        144 for DS-Lite-Tunnel-Name.

   Length:

        This field indicates the total length in octets of this
        attribute including the Type and Length fields, and the length
        in octets of the DS-Lite-Tunnel-Name field.

   DS-Lite-Tunnel-Name:

        This field contains a single FQDN of the remote tunnel endpoint,
        located at the DS-Lite AFTR.

   As the DS-Lite-Tunnel-Name attribute is used to populate the DHCPv6
   OPTION_AFTR_NAME option, the DS-Lite-Tunnel-Name field is formatted
   as required in DHCPv6 (<a href="https://tools.ietf.org/html/rfc3315#section-8">Section&nbsp;8 of [RFC3315]</a> -- "Representation and
   Use of Domain Names").  Briefly, the format described is using a
   single octet noting the length of one DNS label (limited to at most
   63 octets), followed by the label contents.  This repeats until all
   labels in the FQDN are exhausted, including a terminating zero-length
   label.  Any updates to <a href="https://tools.ietf.org/html/rfc3315#section-8">Section&nbsp;8 of [RFC3315]</a> also apply to the
   encoding of this field.



<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 8]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-9" id="page-9" href="#page-9" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


   The data type of the DS-Lite-Tunnel-Name RADIUS attribute is a string
   with opaque encapsulation, according to <a href="https://tools.ietf.org/html/rfc2865#section-5">Section&nbsp;5 of [RFC2865]</a>.

<span class="h2"><h2><a class="selflink" name="section-5" href="#section-5">5</a>.  Table of Attributes</h2></span>

   The following tables provide a guide to which attributes may be found
   in which kinds of packets, and in what quantity.

   Access- Access- Access-  Challenge Accounting #   Attribute
   Request Accept  Reject             Request
   0-1     0-1     0        0         0-1        144 DS-Lite-Tunnel-Name

   CoA-Request CoA-ACK CoA-NACK #   Attribute
   0-1         0       0        144 DS-Lite-Tunnel-Name

   The following table defines the meaning of the above table entries.

   0   This attribute MUST NOT be present in the packet.
   0+  Zero or more instances of this attribute MAY be present in the
       packet.
   0-1 Zero or one instance of this attribute MAY be present in the
       packet.

<span class="h2"><h2><a class="selflink" name="section-6" href="#section-6">6</a>.  Security Considerations</h2></span>

   This document has no additional security considerations beyond those
   already identified in [<a href="https://tools.ietf.org/html/rfc2865" title="&quot;Remote Authentication Dial In User Service (RADIUS)&quot;">RFC2865</a>] for the RADIUS protocol and in
   [<a href="https://tools.ietf.org/html/rfc5176" title="&quot;Dynamic Authorization Extensions to Remote Authentication Dial In User Service (RADIUS)&quot;">RFC5176</a>] for CoA messages.

   [<a name="ref-RFC6333" id="ref-RFC6333">RFC6333</a>] discusses security issues related to Dual-Stack Lite.

<span class="h2"><h2><a class="selflink" name="section-7" href="#section-7">7</a>.  IANA Considerations</h2></span>

   Per this document, IANA has allocated a new RADIUS attribute type
   from the IANA registry "Radius Attribute Types" located at
   <a href="http://www.iana.org/assignments/radius-types">http://www.iana.org/assignments/radius-types</a>.

      DS-Lite-Tunnel-Name - 144













<span class="grey">Maglione &amp; Durand            Standards Track                    [Page 9]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-10" id="page-10" href="#page-10" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


<span class="h2"><h2><a class="selflink" name="section-8" href="#section-8">8</a>.  References</h2></span>

<span class="h3"><h3><a class="selflink" name="section-8.1" href="#section-8.1">8.1</a>.  Normative References</h3></span>

   [<a name="ref-RFC2119" id="ref-RFC2119">RFC2119</a>]      Bradner, S., "Key words for use in RFCs to Indicate
                  Requirement Levels", <a href="https://tools.ietf.org/html/bcp14">BCP 14</a>, <a href="https://tools.ietf.org/html/rfc2119">RFC 2119</a>, March 1997.

   [<a name="ref-RFC2865" id="ref-RFC2865">RFC2865</a>]      Rigney, C., Willens, S., Rubens, A., and W. Simpson,
                  "Remote Authentication Dial In User Service (RADIUS)",
                  <a href="https://tools.ietf.org/html/rfc2865">RFC 2865</a>, June 2000.

   [<a name="ref-RFC3315" id="ref-RFC3315">RFC3315</a>]      Droms, R., Ed., Bound, J., Volz, B., Lemon, T.,
                  Perkins, C., and M. Carney, "Dynamic Host
                  Configuration Protocol for IPv6 (DHCPv6)", <a href="https://tools.ietf.org/html/rfc3315">RFC 3315</a>,
                  July 2003.

   [<a name="ref-RFC5080" id="ref-RFC5080">RFC5080</a>]      Nelson, D. and A. DeKok, "Common Remote Authentication
                  Dial In User Service (RADIUS) Implementation Issues
                  and Suggested Fixes", <a href="https://tools.ietf.org/html/rfc5080">RFC 5080</a>, December 2007.

   [<a name="ref-RFC6333" id="ref-RFC6333">RFC6333</a>]      Durand, A., Droms, R., Woodyatt, J., and Y. Lee,
                  "Dual-Stack Lite Broadband Deployments Following IPv4
                  Exhaustion", <a href="https://tools.ietf.org/html/rfc6333">RFC 6333</a>, August 2011.

   [<a name="ref-RFC6334" id="ref-RFC6334">RFC6334</a>]      Hankins, D. and T. Mrugalski, "Dynamic Host
                  Configuration Protocol for IPv6 (DHCPv6) Option for
                  Dual-Stack Lite", <a href="https://tools.ietf.org/html/rfc6334">RFC 6334</a>, August 2011.

<span class="h3"><h3><a class="selflink" name="section-8.2" href="#section-8.2">8.2</a>.  Informative References</h3></span>

   [<a name="ref-RADIUS-IPv6" id="ref-RADIUS-IPv6">RADIUS-IPv6</a>]  Lourdelet, B., Dec, W., Ed., Sarikaya, B., Zorn, G.,
                  and D. Miles, "RADIUS attributes for IPv6 Access
                  Networks", Work in Progress, November 2011.

   [<a name="ref-RFC5176" id="ref-RFC5176">RFC5176</a>]      Chiba, M., Dommety, G., Eklund, M., Mitton, D., and B.
                  Aboba, "Dynamic Authorization Extensions to Remote
                  Authentication Dial In User Service (RADIUS)",
                  <a href="https://tools.ietf.org/html/rfc5176">RFC 5176</a>, January 2008.













<span class="grey">Maglione &amp; Durand            Standards Track                   [Page 10]</span>
</pre><!--NewPage--><pre class="newpage"><a name="page-11" id="page-11" href="#page-11" class="invisible"> </a>
<span class="grey"><a href="https://tools.ietf.org/html/rfc6519">RFC 6519</a>                DS-Lite RADIUS Extensions          February 2012</span>


Authors' Addresses

   Roberta Maglione
   Telecom Italia
   Via Reiss Romoli 274
   Torino  10148
   Italy

   EMail: roberta.maglione@telecomitalia.it


   Alain Durand
   Juniper Networks
   1194 North Mathilda Avenue
   Sunnyvale, CA  94089-1206
   USA

   EMail: adurand@juniper.net

































Maglione &amp; Durand            Standards Track                   [Page 11]

</pre><br>
<span class="noprint"><small><small>Html markup produced by rfcmarkup 1.109, available from
<a href="https://tools.ietf.org/tools/rfcmarkup/">https://tools.ietf.org/tools/rfcmarkup/</a>
</small></small></span>

</body></html>